App({
  globalData: {},

  onLaunch() {
    // 初始化云开发环境
    wx.cloud.init({
      env: 'cloud-env-id',
      traceUser: true
    })
  },

  onShow() {
    console.log('App Show')
  },

  onHide() {
    console.log('App Hide')
  }
})